<template>
  <div class="home">
    <!-- 导航 -->
    <div class="navBar">
      <navBar></navBar>
    </div>
    <!-- 主体 -->
    <div class="conten">
      <infoSpread></infoSpread>
    </div>
    <!-- 底部 -->
    <div class="footerBar">
      <footBar></footBar>
    </div>

    <!-- 右侧分享按钮 -->

    <foundCard></foundCard>
  </div>
</template>


<script>
// @ is an alias to /sr
import navBar from "../components/header";
import infoSpread from "../components/infoSpread";
import footBar from "../components/footer";
import foundCard from "../components/foundCard";
import {userExist} from "../api/index"
export default {
  name: "Home",
  components: {
    navBar,
    infoSpread,
    footBar,
    foundCard,
  },
  data() {
    return {};
  },
  mounted(){
    console.log("111")
      //  发送请求获取数据
      let param ={
        blphone: 13242342
      }
    userExist().then(data => {
      console.log(data);
      
    });
  },
  methods: {},
};
</script>

<style scoped lang="less">
body,
htm {
  background-color: #999;
}

.footerBar {
  position: fixed;
  bottom: 0px;
  width: 100%;
}
</style>

<style lang="less">
body,
htm {
  background-color: #f5f5f5;
}
</style>